package link.fls.swipestacksample;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

public class SplashActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);

        findViewById(R.id.btnMain).setOnClickListener(v -> {
            MainActivity.jumpTo(this);
        });

        findViewById(R.id.btnStack).setOnClickListener(v -> {
            StackViewActivity.jumpTo(this);
        });

        StackViewActivity.jumpTo(this);
        finish();

    }

}